package com.example.dg.service.impl;

import com.example.dg.entity.Type;
import com.example.dg.mapper.TypeMapper;
import com.example.dg.service.TypeServive;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TypeServiveimpl implements TypeServive {

    @Autowired
    TypeMapper typeMapper;


    @Override
    public List<Type> getAllType() {
        return typeMapper.getAllType();
    }
}
